package com.gyg.common.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <des>
 *   用户评论VO
 * <des>
 *
 * @create Date 2021-10-27
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRemarkVO implements Serializable {

    private Long id; //评论id

    private String username;  //用户名称

    private String title;   //文章名称

    private String remark;   //评论内容

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime created;

    private Integer status;  //状态 0 未审核或者审核失败   1 审核通过
}
